package org.jeecg.modules.demo.upload.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.demo.upload.entity.ZyUpload;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @program: git-zhihui-backen
 * @description:
 * @author: 张浩
 * @create: 2023-06-18 17:20
 **/
public interface ZyUploadService extends IService<ZyUpload> {
    Result<String> add(MultipartFile file);

    Result<Map<String,String>> add(MultipartFile file, String name);

    Result<String> addFile(MultipartFile file);

    Result<List<String>> listFolder();

    String uploadSceneFile(MultipartFile file) throws Exception;

    String uploadSceneFile1(MultipartFile file) throws Exception;
}
